package cn.song.freight.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 删除区域请求参数
 *
 * @author SongRenShuo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "删除区域请求参数")
public class AreaDeleteDTO {

    /**
     * 区域id
     */
    @NotNull(message = "区域id不能为空")
    @ApiModelProperty(value = "区域id", required = true)
    private Long areaId;
}
